<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>推送</title>
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="css/iconfont.css" />
		<link rel="stylesheet" href="css/push-merchants.css" />
		<link rel="stylesheet" href="css/all.css" />
		<link rel="stylesheet" href="css/footer.css" />
	</head>
	<style>
		.push-shop{
			padding: .2rem 0;
    		line-height: 1.2rem;
		}
		.push-shop-img{		
		    width: 1rem;
		    height: 1rem;
		    margin: .1rem;
		}
		.push-shop-enter{
			width: 1rem;
		}
		 
	</style>
	<body>
		<div>
			<div class="head">
				<div class="head-one flex">
					<div class="head-two">
						<p>推送</p>
					</div>
					<div onclick="location.href='./new-product.html'">
						<div class="head-three">
							<p>新品推荐</p>
						</div>
					</div>
				</div>
			</div>
			<div class="middles">
				<div class="hot">
					<ul class="flex">
						<li>
							<a onclick="location.href='./push-merchants.html'"><i class="hots">热门商家</i></a>
						</li>
						<li>
							<a onclick="location.href='./push-product.html'"><i>产品</i></a>
						</li>
						<li>
							<a onclick="location.href='./push-soft.html'"><i>软文</i></a>
						</li>
					</ul>
				</div>
				<div class="store">
					<!--<a onclick="location.href='./business-detail.html'">
						<div class="stores">
							<div class="store-one">
								<img src="img/dianjia.png" alt="">
							</div>
							<div class="stores-two">
								<p class="one">boylondon</p>
								<p class="two">行业：火锅</p>
								<p class="three">157款商品</p>
								<i class="iconfont icon-icon-test"></i>
								<span>总部 北京</span>
							</div>
							<div onclick="location.href=''">
								<div class="jindian">
									<img src="img/jindian.png" alt="">
								</div>
							</div>
						</div>
					</a>
					<a onclick="location.href='./business-detail.html'">
						<div class="stores">
							<div class="store-one">
								<img src="img/dianjia.png" alt="">
							</div>
							<div class="stores-two">
								<p class="one">boylondon</p>
								<p class="two">行业：火锅</p>
								<p class="three">157款商品</p>
								<i class="iconfont icon-icon-test"></i>
								<span>总部 北京</span>
							</div>
							<div onclick="location.href=''">
								<div class="jindian">
									<img src="img/jindian.png" alt="">
								</div>
							</div>
						</div>
					</a>-->
					<!--<a onclick="location.href='./business-detail.html'">
						<div class="stores">
							<div class="store-one">
								<img src="img/dianjia.png" alt="">
							</div>
							<div class="stores-two">
								<p class="one">boylondon</p>
								<p class="two">行业：火锅</p>
								<p class="three">157款商品</p>
								<i class="iconfont icon-icon-test"></i>
								<span>总部 北京</span>
							</div>
							<div onclick="location.href=''">
								<div class="jindian">
									
								</div>
							</div>
						</div>
					</a>-->
					<!--<div class="push-shop">
						<a href="">
							<div class="flex">
								<div class="row">
									<img src="img/dianjia.png" alt="" class="push-shop-img"/>
									<div>伦敦男孩</div>
								</div>
							 
								<p>
									<img src="img/jindian.png" alt="" class="push-shop-enter">
								</p>
							</div>
						</a>
						
					</div>-->
				</div>
			</div>
			<div class="footer">
				<ul class="flex" id="bottom">
					<li class="footer-one">
						<a href="home-page.html">
							<i class="iconfont icon-xiazai45"></i>
							<i class="shouye"> 首页</i>
						</a>
					</li>
					<li class="footer-one">
						<a href="push-merchants.html">
							<i class="iconfont icon-weibiaoti2fuzhi15"></i>
							<i>发现</i>
						</a>
					</li>
					<li class="footer-one">
						<a href="personage.html">
							<i class="iconfont icon-wode"></i>
							<i>我的</i>
						</a>
					</li>
				</ul>
			</div>
		</div>
		<script src="js/jquery.js"></script>
		<script src="js/x_rem.js"></script>
		<script src="js/all.js"></script>
		<script>
			(function() {

				var data = {

				};

				var success = (data) => {
					var html = "";

					for(let i = 0; i < data.message.length; i++) {
						console.log("xx");
						html += `
						 	
							
							<div class="push-shop">
								<a href="business-detail.html?userName=${data.message[i].userName}">
									<div class="flex">
										<div class="row">
											<img src="${data.message[i].portrait}" alt="" class="push-shop-img"/>
											<div>${data.message[i].nickName}</div>
										</div>
									 
										<p>
											<img src="img/jindian.png" alt="" class="push-shop-enter">
										</p>
									</div>
								</a>
								
							</div>
						`

					}
					$(".store").html(html);

				};
				Hajax("post", "/content/findContent2", data, success);

			})();
		</script>
	</body>

</html>